
from south.db import db
from django.db import models
from ideavolution.ideas.models import *

class Migration:
    
    def forwards(self, orm):
        
        # Adding field 'Idea.size'
        db.add_column('ideas_idea', 'size', models.FloatField(null=True, blank=True))
        
    
    
    def backwards(self, orm):
        
        # Deleting field 'Idea.size'
        db.delete_column('ideas_idea', 'size')
        
    
    
    models = {
        'ideas.content': {
            'id': ('models.AutoField', [], {'primary_key': 'True'}),
            'link': ('models.FileField', [], {'null': 'True', 'blank': 'True'}),
            'text': ('models.TextField', [], {'null': 'True', 'blank': 'True'}),
            'title': ('models.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'})
        },
        'ideas.idea': {
            'Meta': {'ordering': "['id']"},
            'connection_set': ('models.ManyToManyField', ["'self'"], {'null': 'True', 'blank': 'True'}),
            'content': ('models.ForeignKey', ['Content'], {'null': 'True', 'blank': 'True'}),
            'id': ('models.AutoField', [], {'primary_key': 'True'}),
            'parent': ('models.ForeignKey', ["'self'"], {'related_name': "'child_set'", 'null': 'True', 'blank': 'True'}),
            'size': ('models.FloatField', [], {'null': 'True', 'blank': 'True'})
        }
    }
    
    complete_apps = ['ideas']
